package com.ziyougou.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ziyougou.common.utils.PageUtils;
import com.ziyougou.product.entity.CategoryBrandRelationEntity;
import com.ziyougou.product.vo.BrandVo;

import java.util.List;
import java.util.Map;

/**
 * 品牌分类关联
 *
 * @author yuanhaipeng
 * @email yuanhaipeng@gmail.com
 * @date 2024-06-26 14:09:53
 */
public interface CategoryBrandRelationService extends IService<CategoryBrandRelationEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<CategoryBrandRelationEntity> getCatelogListByBrandId(Long brandId);

    void updateBrandName(Long brandId,String brandName);

    void updateCategory(Long catId, String name);

    List<BrandVo> getbrandsByCatId(Long catId);
}

